import { useState, useCallback, useEffect } from "react";
import Taro from "@tarojs/taro";
import { View, Text } from "@tarojs/components";
import { connect } from "react-redux";
import "./index.scss";

function MyEvents(props) {
  const {} = props;
  return <View className="event">111</View>;
}
MyEvents.config = {
  navigationBarTitleText: "我的"
};
export default connect(
  function mapStateToProps(state) {
    return state;
  },
  function mapDispatchToProps(dispatch) {
    return { dispatch };
  }
)(MyEvents);
